﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Data.SqlClient;


namespace Login
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new login());
            //Application.Run(new MainForm());
        }
    }

    public class dataCon
    {
        public string str = @"Data Source=.\SQLEXPRESS;Initial Catalog=XSMD;Integrated Security=True ";
        public SqlConnection conn;

        public dataCon()
        {
            conn = new SqlConnection(str);
            conn.Open();
        }
    }
}